Automattic\WooCommerce\Admin\Features\Navigation\Menu B

Total Complexity 83
Dependencies 2
Dependents 3
Total lines 649
Lines of code 359
Logical lines of code 152
Comment lines 207
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
migrate_menu_items()
A
48 12 32
get_post_type_items()
S
45 6 43
has_callback()
S
56 7 19
get_taxonomy_items()
S
47 5 38
add_item()
S
48 5 34
get_parent_key()
S
58 6 17
add_category()
S
50 5 28
migrate_core_child_items()
S
52 5 25
add_core_items()
S
60 5 14
get_prepared_menu_item_data()
S
60 4 12
get_callback_url()
S
62 4 11
add_setting_item()
S
56 3 19
add_plugin_category()
S
58 3 16
add_plugin_item()
S
58 3 16
get_item_menu_id()
S
69 3 6
instance()
S
71 2 6
hide_wp_menu_item()
S
79 1 3
get_items()
S
79 1 3
get_callbacks()
S
79 1 3
init()
S
69 1 6
enqueue_data()
S
65 1 8